package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.GoodsKind;

import java.util.List;

public interface GoodsKindService {
    public GoodsKind findGoodsKindName(String goodsKindname);

    public void add(GoodsKind goodsKind);

    public Page<GoodsKind> pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void deleteById(Integer id);

    public void edit(GoodsKind goodsKind);

    public GoodsKind findById(Integer id);

    public List<GoodsKind> findAll();
}
